package net.lab1024.sa.admin.module.business.erp.poo.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import lombok.Data;

/**
 * 请购单 实体类
 *
 * @Author AKITA
 * @Date 2025-07-23 17:54:05
 * @Copyright AKITA
 */

@Data
@TableName("puord")
public class PuordEntity {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String objName;
    private String docStatus;
    @TableField(fill = FieldFill.INSERT)
    private String absId;
    private Boolean approved;
    private String remark;
    @Version
    private Integer version;
    private String attachment;
    @TableField(fill = FieldFill.INSERT)
    private Long createById;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateById;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private Long deptId;
    private String deptName;

}
